package net.maku.kyy.convert;

import net.maku.kyy.entity.KyyConfigEntity;
import net.maku.kyy.vo.KyyConfigVO;
import net.maku.kyy.vo.KyyConfigExcelVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 11
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Mapper
public interface KyyConfigConvert {
    KyyConfigConvert INSTANCE = Mappers.getMapper(KyyConfigConvert.class);

    KyyConfigEntity convert(KyyConfigVO vo);

    KyyConfigVO convert(KyyConfigEntity entity);

    List<KyyConfigVO> convertList(List<KyyConfigEntity> list);

    List<KyyConfigEntity> convertList2(List<KyyConfigVO> list);

    List<KyyConfigExcelVO> convertExcelList(List<KyyConfigEntity> list);

    List<KyyConfigEntity> convertExcelList2(List<KyyConfigExcelVO> list);
}